package cn.mily.pet.mapper;

import cn.mily.pet.domain.SearchMasterMsg;
import cn.mily.pet.query.FindMastQuery;

import java.util.List;

public interface SearchMapper {
    void searchMasterMsg(SearchMasterMsg searchMasterMsg);

    Integer getCount(FindMastQuery query);

    List<SearchMasterMsg> findAll(FindMastQuery query);

    void updateState(Integer state);

    void deleteByUserId(Long id);
}

